package com.bz.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/admin/role")
public class RoleController {

    // @Autowired
    // private IRoleService roleService;

    // @RequestMapping(value = "/list")
    // public PageInfo list(Model model, HttpServletRequest request, String name, Long pageNo) {

    // LambdaQueryWrapper<RoleEntity> query = new LambdaQueryWrapper<>();
    // if (StringUtils.isNotEmpty(name)) {
    // query.eq(RoleEntity::getName, name);
    // }
    //
    // PageInfo page = PageUtil.getPageInfo(pageNo, PageUtil.pageSize);
    // return roleService.get(page, query);

    // }
}
